//    Copyright (C) Kherty.  All rights reserved.
using System.Diagnostics.Contracts;

namespace OpenLS.Spreadsheet.Parsing
{
    /// <summary>
    /// Summary description for Keywords.
    /// </summary>

    abstract class IdentifierBase: Token
    {
        public readonly string Value;
        public override sealed TokenId Type { get { return TokenId.Identifier; } }

        protected IdentifierBase(string s)
        {
            Contract.Requires(s != null);
            Value = s;
            
        }
        public override string ToString()
        {
            return Value;
        }
    }
}